import request from '@/utils/requestExam'

// 根据id查询评估信息
export function selectExamAssessInfoById(query){
  return request({
    url: "/api/uf/boostor/exam/assess/ExamAssessInfoRest/selectExamAssessInfoById/v1",
    method: "post",
    data: query
  })
}

// 根据条件查询评估信息表
export function searchByPage(query){
  return request({
    url: "/api/uf/boostor/exam/assess/ExamAssessInfoRest/searchByPage/v1",
    method: "post",
    data: query
  })
}

// 批量更新培训员及领导id
export function updateExamAssessInfoBatchForAllot(query){
  return request({
    url: "/api/uf/boostor/exam/assess/ExamAssessInfoRest/editBatchForAllot/v1",
    method: "put",
    data: query
  })
}

// 批量更新领导评估
export function updateExamAssessInfoBatchForLeadAssess(query){
  return request({
    url: "/api/uf/boostor/exam/assess/ExamAssessInfoRest/editBatchForLeadAssess/v1",
    method: "put",
    data: query
  })
}

// 启动持续评估定时任务
export function startContinue(){
  return request({
    url: "/api/uf/boostor/exam/assess/ExamAssessInfoRest/startContinue/v1",
    method: "post"
  })
}
// 启动矩阵评估定时任务
export function startMatrix(){
  return request({
    url: "/api/uf/boostor/exam/assess/ExamAssessInfoRest/startMatrix/v1",
    method: "post"
  })
}